package com.practice.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * desc
 *
 * @author: kayn
 * 2024-09-03 17:03
 **/
@NoArgsConstructor
@Data
public class ReadRequestDTO {

    /**
     * 集合
     */
    private List<ReadDeviceDTO> devices;

    public static ReadRequestDTO init(List<ReadDeviceDTO> devices) {
        ReadRequestDTO dto = new ReadRequestDTO();
        dto.devices = devices;
        return dto;
    }
}
